package com.cuit.zuke.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cuit.zuke.common.vo.QuarterlyDataVo;
import com.cuit.zuke.common.vo.WeeklyDataVo;
import com.cuit.zuke.order.model.entity.GoodsOrder;

import java.math.BigDecimal;
import java.util.List;

public interface GoodsOrderMapper extends BaseMapper<GoodsOrder> {

    /**
     * 获取近期一周商品的订单数目
     * @return
     */
    List<WeeklyDataVo> getWeeklyGoodsOrderData();

    int deleteByOrderId(String orderId);
}
